<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WebSocket消息系统测试</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            padding-top: 2rem;
            background-color: #f5f5f5;
        }
        .header {
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            background-color: #ffffff;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            border-radius: 0.25rem;
        }
        .card {
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 1.5rem;
            height: 100%;
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        }
        .card-title {
            font-weight: 600;
        }
        .card-text {
            color: #6c757d;
        }
        .footer {
            margin-top: 3rem;
            padding: 1.5rem 0;
            color: #6c757d;
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header text-center">
            <h1 class="display-5">WebSocket消息系统测试</h1>
            <p class="lead">测试各种WebSocket功能的综合演示平台</p>
        </div>

        <div class="row">
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">基础连接测试</h5>
                        <p class="card-text">测试WebSocket连接的建立、维护和关闭功能</p>
                        <a href="connection-test.html" class="btn btn-primary">开始测试</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">聊天功能测试</h5>
                        <p class="card-text">测试一对一聊天、文字消息、已读回执和输入指示器</p>
                        <a href="chat-test.html" class="btn btn-primary">开始测试</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">多媒体消息测试</h5>
                        <p class="card-text">测试图片、语音、视频等多媒体内容的传输</p>
                        <a href="media-test.html" class="btn btn-primary">开始测试</a>
                    </div>
                </div>
            </div>
        </div>

        <div class="row mt-4">
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">文件传输测试</h5>
                        <p class="card-text">测试各种类型文件的发送和分块传输功能</p>
                        <a href="file-transfer-test.html" class="btn btn-primary">开始测试</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">朋友圈功能测试</h5>
                        <p class="card-text">测试朋友圈发布、点赞、评论等社交互动功能</p>
                        <a href="social-test.html" class="btn btn-primary">开始测试</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">好友系统测试</h5>
                        <p class="card-text">测试好友请求发送、接受和好友状态变更</p>
                        <a href="friend-test.html" class="btn btn-primary">开始测试</a>
                    </div>
                </div>
            </div>
        </div>

        <div class="row mt-4">
            <div class="col-md-12">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">压力测试</h5>
                        <p class="card-text">测试系统在高并发、大量消息情况下的性能表现</p>
                        <a href="stress-test.html" class="btn btn-primary">开始测试</a>
                    </div>
                </div>
            </div>
        </div>

        <div class="footer">
            <p>WebSocket消息服务器测试平台 &copy; 2023</p>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html> 